package com.kingmed.kmss.common.enums.admin;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 组织机构层级
 */
@Getter
@AllArgsConstructor
public enum OrgLevel {

    GROUP(1, "集团"),
    REGION(2, "大区"),
    BRANCH(3, "公司"),
    BRANCH_CHILD(4, "孙公司"),
    DEPT1(5, "部门"),
    DEPT2(6, "二级部门"),
    DEPT3(7, "三级部门"),
    DEPT4(8, "四级部门");

    private final Integer code;
    private final String name;
}
